<div class="main-header">
  <header class="main-header">
    <a href="/" class="logo">
      <span class="logo-mini"><b>F</b>MZ</span>
      <span class="logo-lg"><b>Fa</b>MaZoom</span>
    </a>
    <nav class="navbar navbar-static-top">
      <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
        <%= icon('fas', 'align-justify') %>
      </a>
      <div class="navbar-custom-menu">
        <ul class="nav navbar-nav">
          <li class="dropdown user user-menu">
            <a href="/users/<%= current_user.id %>/edit" class="dropdown-toggle" 
            data-toggle="dropdown", data-remote="true">
              <%= icon('fas', 'user') %>
              <span><%= current_user.name %></span>
            </a>
            <ul class="dropdown-menu">
              <li class="user-body">
                <%= link_to '个人信息修改', edit_user_path(current_user), remote: true %>
              </li>
              <li class="user-footer">
                <%= icon('fas', 'sign-out-alt')%>
              </li>
            </ul>
          </li>
          <li>
            <%= link_to logout_path do %>
              <%= icon('fas', 'sign-out-alt')%>
            <% end %>
          </li>
        </ul>
      </div>
    </nav>
  </header>
</div>
<script>

</script>